import request from './request'

export interface getClassAns {
    code: number;
    msg: string;
    data: Array<any>;
}
export const getClassOne = () => {
    return request({
        url: '/classify/getfirst',
        method: 'GET'
    })
}
export const getClassTwo = (classifyId: number) => {
    return request({
        url: '/classify/getsec',
        method: 'GET',
        params: {
            classifyId
        }
    })
}